package com.yanxu.proxy.base;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2025/4/15-2025
 * @Description: orderService
 */
public class OrderServiceImpl implements IOrderService{

    private IOrderDao orderDao;

    @Override
    public int saveOrder(Order order) {
        //如果使用 spring, 那么会自己注入
        orderDao=new OrderDaoImpl();

        return orderDao.insert(order);
    }
}